home *** CD-ROM | disk | FTP | other *** search
/ Cracking 1 / Cracking I..iso / Tools / Ostatní / aPLib v0.26b / src / asm / READ.ME < prev   
Encoding:
Text File  |  2001-12-15  |  1.2 KB  |  49 lines

  1. - These versions can be compiled with TASM, MASM or WASM. To compile,
  2.   use eg. (TASM)
  3.  
  4.     tasm32.exe /mx /m /q /zn depack.asm
  5.     tasm32.exe /mx /m /q /zn depackf.asm
  6.     tasm.exe /mx /m /q /zn depack16.asm
  7.  
  8.   or (MASM)
  9.  
  10.     ml.exe /Cp /c depack.asm
  11.     ml.exe /Cp /c depackf.asm
  12.     ml.exe /Cp /c depack16.asm
  13.  
  14.   or (WASM)
  15.  
  16.     wasm.exe depack.asm
  17.     wasm.exe depackf.asm
  18.     wasm.exe depack16.asm
  19.  
  20. - They work with Delphi, Watcom, VC, TASM32/TLINK32 and DOS32 linkers
  21.   (should work with most other 32bit linkers too). The 16bit version works
  22.   with (at least) TASM/TLINK and BC.
  23.  
  24. - In Watcom and VC files, you can use the following function declaration
  25.   (modify if you are using aP_depack_asm_fast):
  26.  
  27.     #ifdef __cplusplus
  28.     extern "C" {
  29.     #endif
  30.  
  31.     unsigned int __cdecl aP_depack_asm(unsigned char *, unsigned char *);
  32.  
  33.     #ifdef __cplusplus
  34.     } /* extern "C" */
  35.     #endif
  36.  
  37. - In BC (DOS) files, you can use the following function declaration to use
  38.   the 16bit depacker:
  39.  
  40.     #ifdef __cplusplus
  41.     extern "C" {
  42.     #endif
  43.  
  44.     unsigned long aP_depack16_asm(unsigned char far*, unsigned char far*);
  45.  
  46.     #ifdef __cplusplus
  47.     } /* extern "C" */
  48.     #endif
  49.